package com.cloudspace.yunloan.utils;

import android.content.Context;
import android.os.Vibrator;

import com.cloudspace.yunloan.YunloanApp;

/**
 * Created by xianh on 17/3/12.
 */

public class VibratorUtils {
    public static void vibrate(){
        Vibrator vibrator = (Vibrator) YunloanApp.getInstance().getSystemService(Context.VIBRATOR_SERVICE);
        vibrator.vibrate(new long[]{300,500},0);
    }

}
